﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;

namespace PhoneUI.Com
{
    public sealed class GetMtrlDefDetailRequest : ILJTokenRequest<GetMtrlDefDetailResposne>
    {
        public string token { get; set; }
        /// <summary>
        /// 物料ID
        /// </summary>
        public int mtrlid { get; set; }

        public string GetApiName()
        {
            return "GetMtrlDefDetail";
        }
    }

    public sealed class GetMtrlDefDetailResposne : LJResponse
    {
        /// <summary>
        /// 物料编码
        /// </summary>
        public string mtrlCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string mtrlName { get; set; }
        /// <summary>
        /// 物料类型
        /// </summary>
        public string mtrlType { get; set; }
        /// <summary>
        /// 自定义1
        /// </summary>
        public string mtrlSecType { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string mtrlMode { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 详细类别
        /// </summary>
        public string handType { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string dscrp { get; set; }
    }
}